<table cellpadding="0" cellspacing="0">
<{foreach from=$db item=item key=key}>
<tr>
    <th><{$key}></th>
	<td><{$item}></td>
</tr>
<{/foreach}>
</table>